<HTML><HEAD><TITLE>retract_all(+Head)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Obsolete</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>retract_all(+Head)</H1>
Removes from the database all clauses whose heads match Head
<DL>
<DT><EM>Head</EM></DT>
<DD>Atom, variable or compound term.
</DD>
</DL>
<H3>This built-in predicate is obsolete!</H3>
<H2>Description</H2>
An obsolete synonym for retractall/1.
<H3>Modes and Determinism</H3><UL>
<LI>retract_all(+) is det
</UL>
<H3>Modules</H3>
This predicate is sensitive to its module context (tool predicate, see @/2).
<H3>Exceptions</H3>
<DL>
<DT><EM>(4) instantiation fault </EM>
<DD>Head is not instantiated
<DT><EM>(5) type error </EM>
<DD>Head is not a callable term
<DT><EM>(63) procedure not dynamic </EM>
<DD>Procedure is not dynamic
<DT><EM>(70) accessing an undefined dynamic procedure </EM>
<DD>Procedure is undefined
</DL>
<H2>See Also</H2>
<A HREF="../../kernel/dynamic/retractall-1.html">retractall / 1</A>
</BODY></HTML>
